const Layout = () => import('@/layout/index.vue')
export default [
  {
    path: '/trends',
    name: 'Trends',
    meta: { title: '动态列表',icon:'Promotion' },
    component: Layout,
    children: [
      {
        path: '/trendsList',
        name: 'TrendsList',
        component: () => import('@/views/audit/trends/index.vue'),
        meta: { title: '动态列表', role: ['trends_index'],icon:'Promotion'}
      },
    ],
  },
  {
    path: '/reviewInfo',
    name: 'ReviewInfo',
    meta: { title: '文字/图片审核中心',icon:'Stamp' },
    component: Layout,
    children: [
      {
        path: '/reviewInfo/auditText',
        name: 'AuditText',
        component: () => import('@/views/audit/reviewInfo/auditText.vue'),
        meta: { title: '文字-初审', role: ['audit_firstContent']}
      },
      {
        path: '/reviewInfo/reAuditText',
        name: 'ReAuditText',
        component: () => import('@/views/audit/reviewInfo/reAuditText.vue'),
        meta: { title: '文字-复审', role: ['audit_secondContent']}
      },
      {
        path: '/reviewInfo/auditImage',
        name: 'AuditImage',
        component: () => import('@/views/audit/reviewInfo/auditImage.vue'),
        meta: { title: '图片-初审', role: ['audit_firstContent']}
      },
      {
        path: '/reviewInfo/reAuditImage',
        name: 'ReAuditImage',
        component: () => import('@/views/audit/reviewInfo/reAuditImage.vue'),
        meta: { title: '图片-复审', role: ['audit_secondContent']}
      },
      {
        path: '/reviewInfo/auditComment',
        name: 'AuditComment',
        component: () => import('@/views/audit/reviewInfo/auditComment.vue'),
        meta: { title: '评论-初审', role: ['audit_firstComment']}
      },
      {
        path: '/reviewInfo/reAuditComment',
        name: 'ReAuditComment',
        component: () => import('@/views/audit/reviewInfo/reAuditComment.vue'),
        meta: { title: '评论-复审', role: ['audit_secondComment']}
      },
      {
        path: '/doubledan/message',
        name: 'Sdj2023LybList',
        component: () => import('@/views/statistics/doubledan/message.vue'),
        meta: { title: '留言板列表', role: ['doubledan_messageList'] }
      },
      {
        path: '/roomWelcomeList',
        name: 'RoomWelcomeList',
        component: () => import('@/views/audit/roomWelcomeList/index.vue'),
        meta: { title: '房间欢迎语', role: ['roomwelcome_list'] }
      },
      {
        path: '/chatfriendList',
        name: 'ChatfriendList',
        component: () => import('@/views/user/chatfriend/index.vue'),
        meta: { title: '交友墙名片审核', role: ['chatfriend_list']}
      },
    ],
  },
  {
    path: '/report',
    name: 'Report',
    meta: { title: '平台投诉处理',icon:'Service' },
    component: Layout,
    children: [
      {
        path: '/reportRoom',
        name: 'ReportRoom',
        component: () => import('@/views/audit/reportRoom/index.vue'),
        meta: { title: '举报房间', role: ['roomreport_index']}
      },
      {
        path: '/reportUser',
        name: 'ReportUser',
        component: () => import('@/views/audit/reportUser/index.vue'),
        meta: { title: '举报用户', role: ['friendsreport_index']}
      },
      {
        path: '/reportFeedback',
        name: 'ReportFeedback',
        component: () => import('@/views/audit/feedback/index.vue'),
        meta: { title: '用户反馈', role: ['userfeedback_index']}
      },
    ],
  },
]
